﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SportsPlatform.Dto.WeChat
{
    /// <summary>
    /// 我的报名信息详情返回
    /// </summary>
    public class RegistrationInfoDetailsDto
    {
        /// <summary>
        /// 封面图
        /// </summary>
        public string CoverPicture { get; set; }

        /// <summary>
        /// 赛事名称
        /// </summary>
        public string CompetitionName { get; set; }

        /// <summary>
        /// 举办地点
        /// </summary>
        public string CompetitionAddress { get; set; }

        /// <summary>
        /// 比赛时间
        /// </summary>
        public string CompetitionMatchTime { get; set; }

        /// <summary>
        /// 支付状态
        /// </summary>
        public string CompetitionPayStates { get; set; }

        /// <summary>
        /// 报名时间
        /// </summary>
        public string RegistrationSubmissionTime { get; set; }

        /// <summary>
        /// 支付时间
        /// </summary>
        public string PaymentTime { get; set; }

        /// <summary>
        /// 订单单号
        /// </summary>
        public string OrderOddNumbers { get; set; }

        /// <summary>
        /// 报名项目信息
        /// </summary>
        public List<CompetitionProjectDto> CompetitionProjectList { get; set; }

    }
    /// <summary>
    /// 项目信息
    /// </summary>
    public class CompetitionProjectDto
    {
        /// <summary>
        /// 项目名称
        /// </summary>
        public string CompetitionProjectName { get; set; }

        /// <summary>
        /// 项目状态
        /// </summary>
        public string GameTypeName { get; set; }

        /// <summary>
        /// 比赛时间
        /// </summary>
        public string GameTime { get; set; }

        /// <summary>
        /// 报名费用
        /// </summary>
        public decimal CostMoney { get; set; }

        /// <summary>
        /// 费用类型（1：元/人；2：元/队）
        /// </summary>
        public string CostType { get; set; }

        /// <summary>
        /// 人数
        /// </summary>
        public string CompeteNumber { get; set; }

        /// <summary>
        /// 总费用
        /// </summary>
        public decimal CountMoney { get; set; }

        /// <summary>
        /// 支付状态
        /// </summary>
        public string ProjectPayStates { get; set; }

        /// <summary>
        /// 参赛人信息
        /// </summary>
        public List<CompeteInfo> CompeteInfoList { get; set; }

        /// <summary>
        /// 参赛队名
        /// </summary>
        public string CompeteTeamName { get; set; }
    }

    /// <summary>
    /// 参赛人信息
    /// </summary>
    public class CompeteInfo
    {
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 身份证号
        /// </summary>
        public string IdNo { get; set; }

        /// <summary>
        /// 传感器
        /// </summary>
        public string SensorNumber { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 是否退款
        /// </summary>
        public string PayStates { get; set; }

    }
}
